package cn.com.czpb.client.module.news.view;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;

import cn.com.czpb.client.R;
import cn.com.czpb.client.utils.SPUtil;

/**
 * Created by 猪猪侠 on 2017/7/25.
 */

public class HighriseTopView {
    private View rootView;
    private Activity mActivity;
    protected SPUtil spu;//

    public static HighriseTopView instance(Activity activity){
        return new HighriseTopView(activity);
    }

    public HighriseTopView(Activity activity){
        //
        spu =SPUtil.getInstance();
        this.mActivity = activity;
        initView(activity);
    }

    public View getView(){
        return rootView;
    }
    /**
     * @param context
     */
    private void initView(Activity context) {
        LayoutInflater layoutInflater = LayoutInflater.from(context);
        rootView = layoutInflater.inflate(R.layout.view_highrise,null);
    }


}
